using System;
using System.IO;
using System.Globalization;
using System.Xml;
using System.IO.Compression;

using System.Xml.Serialization;
using System.Collections;
using Microsoft.SharePoint;


namespace ValidateContentDeploymentPackage
{
    [System.Xml.Serialization.XmlTypeAttribute(TypeName = "SPGenericObjectCollection", Namespace = "urn:deployment-manifest-schema")]
    [System.Xml.Serialization.XmlRootAttribute("SPObjects", Namespace = "urn:deployment-manifest-schema", IsNullable = false)]
    public partial class SPGenericObjectCollectionRoot
    {
        [System.Xml.Serialization.XmlElementAttribute("SPObject")]
        public SPGenericObjectCollection sPObjectFields;

        public SPGenericObjectCollectionRoot()
        {
            sPObjectFields = new SPGenericObjectCollection();
        }
    }

    /// <remarks/>
    public partial class SPGenericObject
    {

        private object itemField;

        private SPObjectType objectTypeField;

        private bool objectTypeFieldSpecified;

        private string idField;

        private string parentIdField;

        private string nameField;

        private bool isDeletedField;

        private bool isDeletedFieldSpecified;

        private string parentWebIdField;

        private string parentWebUrlField;

        private string contentTypeIdField;

        private string urlField;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("ContentType", typeof(SPContentType))]
        [System.Xml.Serialization.XmlElementAttribute("DocumentLibrary", typeof(SPDocumentLibrary))]
        [System.Xml.Serialization.XmlElementAttribute("DocumentTemplate", typeof(SPDocTemplate))]
        [System.Xml.Serialization.XmlElementAttribute("Feature", typeof(SPFeature))]
        [System.Xml.Serialization.XmlElementAttribute("FieldTemplate", typeof(DeploymentFieldTemplate))]
        [System.Xml.Serialization.XmlElementAttribute("File", typeof(SPFile))]
        [System.Xml.Serialization.XmlElementAttribute("Folder", typeof(SPFolder))]
        [System.Xml.Serialization.XmlElementAttribute("GroupX", typeof(DeploymentGroupX))]
        [System.Xml.Serialization.XmlElementAttribute("List", typeof(SPList))]
        [System.Xml.Serialization.XmlElementAttribute("ListItem", typeof(SPListItem))]
        [System.Xml.Serialization.XmlElementAttribute("ListTemplate", typeof(SPListTemplate))]
        [System.Xml.Serialization.XmlElementAttribute("Module", typeof(SPModule))]
        [System.Xml.Serialization.XmlElementAttribute("PictureLibrary", typeof(SPPictureLibrary))]
        [System.Xml.Serialization.XmlElementAttribute("RoleAssignmentX", typeof(DeploymentRoleAssignmentX))]
        [System.Xml.Serialization.XmlElementAttribute("RoleAssignments", typeof(DeploymentRoleAssignment[]))]
        [System.Xml.Serialization.XmlElementAttribute("RoleX", typeof(DeploymentRoleX))]
        [System.Xml.Serialization.XmlElementAttribute("Roles", typeof(DeploymentRole[]))]
        [System.Xml.Serialization.XmlElementAttribute("Site", typeof(SPSite))]
        [System.Xml.Serialization.XmlElementAttribute("UserX", typeof(DeploymentUserX))]
        [System.Xml.Serialization.XmlElementAttribute("Web", typeof(SPWeb))]
        [System.Xml.Serialization.XmlElementAttribute("WebStructure", typeof(DeploymentWebStructure))]
        [System.Xml.Serialization.XmlElementAttribute("WebTemplate", typeof(SPWebTemplate))]
        public object Item
        {
            get
            {
                return this.itemField;
            }
            set
            {
                this.itemField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public SPObjectType ObjectType
        {
            get
            {
                return this.objectTypeField;
            }
            set
            {
                this.objectTypeField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool ObjectTypeSpecified
        {
            get
            {
                return this.objectTypeFieldSpecified;
            }
            set
            {
                this.objectTypeFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Id
        {
            get
            {
                return this.idField;
            }
            set
            {
                this.idField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ParentId
        {
            get
            {
                return this.parentIdField;
            }
            set
            {
                this.parentIdField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Name
        {
            get
            {
                return this.nameField;
            }
            set
            {
                this.nameField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public bool IsDeleted
        {
            get
            {
                return this.isDeletedField;
            }
            set
            {
                this.isDeletedField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool IsDeletedSpecified
        {
            get
            {
                return this.isDeletedFieldSpecified;
            }
            set
            {
                this.isDeletedFieldSpecified = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ParentWebId
        {
            get
            {
                return this.parentWebIdField;
            }
            set
            {
                this.parentWebIdField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ParentWebUrl
        {
            get
            {
                return this.parentWebUrlField;
            }
            set
            {
                this.parentWebUrlField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string ContentTypeId
        {
            get
            {
                return this.contentTypeIdField;
            }
            set
            {
                this.contentTypeIdField = value;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string Url
        {
            get
            {
                return this.urlField;
            }
            set
            {
                this.urlField = value;
            }
        }
    }

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPContentType {
    
    private System.Xml.XmlElement[] anyField;
    
    private string idField;
    
    private string nameField;
    
    private string scopeField;
    
    private string parentWebIdField;
    
    private string listIdField;
    
    private string descriptionField;
    
    private string groupField;
    
    private bool pushDownChangesField;
    
    private bool pushDownChangesFieldSpecified;
    
    private string requireClientRenderingOnNewField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ID {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Scope {
        get {
            return this.scopeField;
        }
        set {
            this.scopeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ListId {
        get {
            return this.listIdField;
        }
        set {
            this.listIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Group {
        get {
            return this.groupField;
        }
        set {
            this.groupField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool PushDownChanges {
        get {
            return this.pushDownChangesField;
        }
        set {
            this.pushDownChangesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool PushDownChangesSpecified {
        get {
            return this.pushDownChangesFieldSpecified;
        }
        set {
            this.pushDownChangesFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RequireClientRenderingOnNew {
        get {
            return this.requireClientRenderingOnNewField;
        }
        set {
            this.requireClientRenderingOnNewField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentFieldTemplate {
    
    private SPField fieldField;
    
    private string idField;
    
    private string nameField;
    
    private string parentWebIdField;
    
    private string scopeField;
    
    private string descriptionField;
    
    private string groupField;
    
    /// <remarks/>
    public SPField Field {
        get {
            return this.fieldField;
        }
        set {
            this.fieldField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Scope {
        get {
            return this.scopeField;
        }
        set {
            this.scopeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Group {
        get {
            return this.groupField;
        }
        set {
            this.groupField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPField {
    
    private System.Xml.XmlElement[] anyField;
    
    private string idField;
    
    private string fieldIdField;
    
    private string nameField;
    
    private string valueField;
    
    private string displayNameField;
    
    private int rowOrdinalField;
    
    private bool rowOrdinalFieldSpecified;
    
    private int rowOrdinal2Field;
    
    private bool rowOrdinal2FieldSpecified;
    
    private string typeField;
    
    private string colNameField;
    
    private string colName2Field;
    
    private string titleField;
    
    private string descriptionField;
    
    private string defaultValueField;
    
    private string defaultFormulaField;
    
    private string fromBaseTypeField;
    
    private string sealedField;
    
    private string canToggleHiddenField;
    
    private string displaySizeField;
    
    private string requiredField;
    
    private string readOnlyField;
    
    private string hiddenField;
    
    private string directionField;
    
    private string iMEModeField;
    
    private string sortableBySchemaField;
    
    private string sortableField;
    
    private string filterableBySchemaField;
    
    private string filterableField;
    
    private string filterableNoRecurrenceBySchemaField;
    
    private string filterableNoRecurrenceField;
    
    private string reorderableField;
    
    private string formatField;
    
    private string fillInChoiceField;
    
    private string schemaXmlField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ID {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FieldId {
        get {
            return this.fieldIdField;
        }
        set {
            this.fieldIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DisplayName {
        get {
            return this.displayNameField;
        }
        set {
            this.displayNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int RowOrdinal {
        get {
            return this.rowOrdinalField;
        }
        set {
            this.rowOrdinalField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RowOrdinalSpecified {
        get {
            return this.rowOrdinalFieldSpecified;
        }
        set {
            this.rowOrdinalFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int RowOrdinal2 {
        get {
            return this.rowOrdinal2Field;
        }
        set {
            this.rowOrdinal2Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RowOrdinal2Specified {
        get {
            return this.rowOrdinal2FieldSpecified;
        }
        set {
            this.rowOrdinal2FieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ColName {
        get {
            return this.colNameField;
        }
        set {
            this.colNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ColName2 {
        get {
            return this.colName2Field;
        }
        set {
            this.colName2Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DefaultValue {
        get {
            return this.defaultValueField;
        }
        set {
            this.defaultValueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DefaultFormula {
        get {
            return this.defaultFormulaField;
        }
        set {
            this.defaultFormulaField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FromBaseType {
        get {
            return this.fromBaseTypeField;
        }
        set {
            this.fromBaseTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Sealed {
        get {
            return this.sealedField;
        }
        set {
            this.sealedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string CanToggleHidden {
        get {
            return this.canToggleHiddenField;
        }
        set {
            this.canToggleHiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DisplaySize {
        get {
            return this.displaySizeField;
        }
        set {
            this.displaySizeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Required {
        get {
            return this.requiredField;
        }
        set {
            this.requiredField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ReadOnly {
        get {
            return this.readOnlyField;
        }
        set {
            this.readOnlyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Direction {
        get {
            return this.directionField;
        }
        set {
            this.directionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string IMEMode {
        get {
            return this.iMEModeField;
        }
        set {
            this.iMEModeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SortableBySchema {
        get {
            return this.sortableBySchemaField;
        }
        set {
            this.sortableBySchemaField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Sortable {
        get {
            return this.sortableField;
        }
        set {
            this.sortableField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FilterableBySchema {
        get {
            return this.filterableBySchemaField;
        }
        set {
            this.filterableBySchemaField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Filterable {
        get {
            return this.filterableField;
        }
        set {
            this.filterableField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FilterableNoRecurrenceBySchema {
        get {
            return this.filterableNoRecurrenceBySchemaField;
        }
        set {
            this.filterableNoRecurrenceBySchemaField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FilterableNoRecurrence {
        get {
            return this.filterableNoRecurrenceField;
        }
        set {
            this.filterableNoRecurrenceField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Reorderable {
        get {
            return this.reorderableField;
        }
        set {
            this.reorderableField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Format {
        get {
            return this.formatField;
        }
        set {
            this.formatField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FillInChoice {
        get {
            return this.fillInChoiceField;
        }
        set {
            this.fillInChoiceField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SchemaXml {
        get {
            return this.schemaXmlField;
        }
        set {
            this.schemaXmlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentWebStructure {
    
    private System.Xml.XmlElement[] anyField;
    
    private string webIdField;
    
    private string webUrlField;
    
    private bool useSharedNavigationField;
    
    private bool useSharedNavigationFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebId {
        get {
            return this.webIdField;
        }
        set {
            this.webIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebUrl {
        get {
            return this.webUrlField;
        }
        set {
            this.webUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool UseSharedNavigation {
        get {
            return this.useSharedNavigationField;
        }
        set {
            this.useSharedNavigationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool UseSharedNavigationSpecified {
        get {
            return this.useSharedNavigationFieldSpecified;
        }
        set {
            this.useSharedNavigationFieldSpecified = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPContentTypeFolder {
    
    private string targetNameField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string TargetName {
        get {
            return this.targetNameField;
        }
        set {
            this.targetNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>

[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPContentTypeRef {
    
    private System.Xml.XmlElement[] anyField;
    
    private string idField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ID {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPXmlDocumentCollection {
    
    private System.Xml.XmlElement[] anyField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPDocTemplate {
    
    private string defaultTemplateField;
    
    private string descriptionField;
    
    private string nameField;
    
    private string schemaXmlField;
    
    private int typeField;
    
    private bool typeFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DefaultTemplate {
        get {
            return this.defaultTemplateField;
        }
        set {
            this.defaultTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SchemaXml {
        get {
            return this.schemaXmlField;
        }
        set {
            this.schemaXmlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TypeSpecified {
        get {
            return this.typeFieldSpecified;
        }
        set {
            this.typeFieldSpecified = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPListItem {
    
    private object[] itemsField;
    
    private string nameField;
    
    private string dirNameField;
    
    private string fileUrlField;
    
    private string versionField;
    
    private string idField;
    
    private int intIdField;
    
    private bool intIdFieldSpecified;
    
    private string docIdField;
    
    private string authorField;
    
    private string modifiedByField;
    
    private System.DateTime timeCreatedField;
    
    private bool timeCreatedFieldSpecified;
    
    private System.DateTime timeLastModifiedField;
    
    private bool timeLastModifiedFieldSpecified;
    
    private string parentWebIdField;
    
    private string parentListIdField;
    
    private string parentFolderIdField;
    
    private SPModerationStatusType moderationStatusField;
    
    private bool moderationStatusFieldSpecified;
    
    private string moderationCommentField;
    
    private string contentTypeIdField;
    
    private string threadIndexField;
    
    private ListItemDocType docTypeField;
    
    private string userLoginNameField;
    
    private string groupNameField;
    
    private string failureMessageField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    public SPListItem() {
        this.versionField = "1.0";
        this.docTypeField = ListItemDocType.File;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Attachments", typeof(SPAttachmentCollection))]
    [System.Xml.Serialization.XmlElementAttribute("EventReceivers", typeof(SPEventReceiverDefinition[]))]
    [System.Xml.Serialization.XmlElementAttribute("Fields", typeof(SPFieldCollection))]
    [System.Xml.Serialization.XmlElementAttribute("Links", typeof(SPLink[]))]
    [System.Xml.Serialization.XmlElementAttribute("Versions", typeof(SPListItemCollection))]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DirName {
        get {
            return this.dirNameField;
        }
        set {
            this.dirNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FileUrl {
        get {
            return this.fileUrlField;
        }
        set {
            this.fileUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute("1.0")]
    public string Version {
        get {
            return this.versionField;
        }
        set {
            this.versionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int IntId {
        get {
            return this.intIdField;
        }
        set {
            this.intIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IntIdSpecified {
        get {
            return this.intIdFieldSpecified;
        }
        set {
            this.intIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DocId {
        get {
            return this.docIdField;
        }
        set {
            this.docIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModifiedBy {
        get {
            return this.modifiedByField;
        }
        set {
            this.modifiedByField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeCreated {
        get {
            return this.timeCreatedField;
        }
        set {
            this.timeCreatedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeCreatedSpecified {
        get {
            return this.timeCreatedFieldSpecified;
        }
        set {
            this.timeCreatedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeLastModified {
        get {
            return this.timeLastModifiedField;
        }
        set {
            this.timeLastModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeLastModifiedSpecified {
        get {
            return this.timeLastModifiedFieldSpecified;
        }
        set {
            this.timeLastModifiedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentListId {
        get {
            return this.parentListIdField;
        }
        set {
            this.parentListIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentFolderId {
        get {
            return this.parentFolderIdField;
        }
        set {
            this.parentFolderIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPModerationStatusType ModerationStatus {
        get {
            return this.moderationStatusField;
        }
        set {
            this.moderationStatusField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ModerationStatusSpecified {
        get {
            return this.moderationStatusFieldSpecified;
        }
        set {
            this.moderationStatusFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModerationComment {
        get {
            return this.moderationCommentField;
        }
        set {
            this.moderationCommentField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ContentTypeId {
        get {
            return this.contentTypeIdField;
        }
        set {
            this.contentTypeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ThreadIndex {
        get {
            return this.threadIndexField;
        }
        set {
            this.threadIndexField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute(ListItemDocType.File)]
    public ListItemDocType DocType {
        get {
            return this.docTypeField;
        }
        set {
            this.docTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserLoginName {
        get {
            return this.userLoginNameField;
        }
        set {
            this.userLoginNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string GroupName {
        get {
            return this.groupNameField;
        }
        set {
            this.groupNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FailureMessage {
        get {
            return this.failureMessageField;
        }
        set {
            this.failureMessageField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPAttachment {
    
    private DictionaryEntry[] propertiesField;
    
    private string nameField;
    
    private string dirNameField;
    
    private string urlField;
    
    private string idField;
    
    private string parentWebIdField;
    
    private string fileValueField;
    
    private string metaInfoField;
    
    private string authorField;
    
    private string modifiedByField;
    
    private System.DateTime timeCreatedField;
    
    private bool timeCreatedFieldSpecified;
    
    private System.DateTime timeLastModifiedField;
    
    private bool timeLastModifiedFieldSpecified;
    
    private string failureMessageField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Property", IsNullable=false)]
    public DictionaryEntry[] Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DirName {
        get {
            return this.dirNameField;
        }
        set {
            this.dirNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FileValue {
        get {
            return this.fileValueField;
        }
        set {
            this.fileValueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string MetaInfo {
        get {
            return this.metaInfoField;
        }
        set {
            this.metaInfoField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModifiedBy {
        get {
            return this.modifiedByField;
        }
        set {
            this.modifiedByField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeCreated {
        get {
            return this.timeCreatedField;
        }
        set {
            this.timeCreatedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeCreatedSpecified {
        get {
            return this.timeCreatedFieldSpecified;
        }
        set {
            this.timeCreatedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeLastModified {
        get {
            return this.timeLastModifiedField;
        }
        set {
            this.timeLastModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeLastModifiedSpecified {
        get {
            return this.timeLastModifiedFieldSpecified;
        }
        set {
            this.timeLastModifiedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FailureMessage {
        get {
            return this.failureMessageField;
        }
        set {
            this.failureMessageField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DictionaryEntry {
    
    private string nameField;
    
    private string valueField;
    
    private string value2Field;
    
    private string idField;
    
    private SPDictionaryEntryValueType typeField;
    
    private SPDictionaryEntryAccess accessField;
    
    public DictionaryEntry() {
        this.typeField = SPDictionaryEntryValueType.String;
        this.accessField = SPDictionaryEntryAccess.ReadWrite;
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Value {
        get {
            return this.valueField;
        }
        set {
            this.valueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Value2 {
        get {
            return this.value2Field;
        }
        set {
            this.value2Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute(SPDictionaryEntryValueType.String)]
    public SPDictionaryEntryValueType Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute(SPDictionaryEntryAccess.ReadWrite)]
    public SPDictionaryEntryAccess Access {
        get {
            return this.accessField;
        }
        set {
            this.accessField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPDictionaryEntryValueType {
    
    /// <remarks/>
    String,
    
    /// <remarks/>
    Integer,
    
    /// <remarks/>
    Time,
    
    /// <remarks/>
    StringVector,
    
    /// <remarks/>
    Boolean,
    
    /// <remarks/>
    FileSystemTime,
    
    /// <remarks/>
    IntVector,
    
    /// <remarks/>
    Double,
    
    /// <remarks/>
    LongText,
    
    /// <remarks/>
    Empty,
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPDictionaryEntryAccess {
    
    /// <remarks/>
    ReadOnly,
    
    /// <remarks/>
    ReadWrite,
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPEventReceiverDefinition {
    
    private string idField;
    
    private string nameField;
    
    private string webIdField;
    
    private string hostIdField;
    
    private SPEventHostType hostTypeField;
    
    private SPEventReceiverType typeField;
    
    private int sequenceNumberField;
    
    private string assemblyField;
    
    private string classField;
    
    private string dataField;
    
    private string filterField;
    
    private int credentialField;
    
    private bool credentialFieldSpecified;
    
    private int itemIdField;
    
    private bool itemIdFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebId {
        get {
            return this.webIdField;
        }
        set {
            this.webIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string HostId {
        get {
            return this.hostIdField;
        }
        set {
            this.hostIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPEventHostType HostType {
        get {
            return this.hostTypeField;
        }
        set {
            this.hostTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPEventReceiverType Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int SequenceNumber {
        get {
            return this.sequenceNumberField;
        }
        set {
            this.sequenceNumberField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Assembly {
        get {
            return this.assemblyField;
        }
        set {
            this.assemblyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Class {
        get {
            return this.classField;
        }
        set {
            this.classField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Data {
        get {
            return this.dataField;
        }
        set {
            this.dataField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Filter {
        get {
            return this.filterField;
        }
        set {
            this.filterField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int Credential {
        get {
            return this.credentialField;
        }
        set {
            this.credentialField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CredentialSpecified {
        get {
            return this.credentialFieldSpecified;
        }
        set {
            this.credentialFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int ItemId {
        get {
            return this.itemIdField;
        }
        set {
            this.itemIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ItemIdSpecified {
        get {
            return this.itemIdFieldSpecified;
        }
        set {
            this.itemIdFieldSpecified = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPEventHostType {
    
    /// <remarks/>
    Site,
    
    /// <remarks/>
    Web,
    
    /// <remarks/>
    List,
    
    /// <remarks/>
    ListItem,
    
    /// <remarks/>
    ContentType,
    
    /// <remarks/>
    Feature,
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPEventReceiverType {
    
    /// <remarks/>
    ItemAdding,
    
    /// <remarks/>
    ItemUpdating,
    
    /// <remarks/>
    ItemDeleting,
    
    /// <remarks/>
    ItemCheckingIn,
    
    /// <remarks/>
    ItemCheckingOut,
    
    /// <remarks/>
    ItemUncheckingOut,
    
    /// <remarks/>
    ItemAttachmentAdding,
    
    /// <remarks/>
    ItemAttachmentDeleting,
    
    /// <remarks/>
    ItemFileMoving,
    
    /// <remarks/>
    FieldAdding,
    
    /// <remarks/>
    FieldUpdating,
    
    /// <remarks/>
    FieldDeleting,
    
    /// <remarks/>
    SiteDeleting,
    
    /// <remarks/>
    WebDeleting,
    
    /// <remarks/>
    WebMoving,
    
    /// <remarks/>
    ItemAdded,
    
    /// <remarks/>
    ItemUpdated,
    
    /// <remarks/>
    ItemDeleted,
    
    /// <remarks/>
    ItemCheckedIn,
    
    /// <remarks/>
    ItemCheckedOut,
    
    /// <remarks/>
    ItemUncheckedOut,
    
    /// <remarks/>
    ItemAttachmentAdded,
    
    /// <remarks/>
    ItemAttachmentDeleted,
    
    /// <remarks/>
    ItemFileMoved,
    
    /// <remarks/>
    ItemFileTransformed,
    
    /// <remarks/>
    FieldAdded,
    
    /// <remarks/>
    FieldUpdated,
    
    /// <remarks/>
    FieldDeleted,
    
    /// <remarks/>
    SiteDeleted,
    
    /// <remarks/>
    WebDeleted,
    
    /// <remarks/>
    WebMoved,
    
    /// <remarks/>
    EmailReceived,
    
    /// <remarks/>
    ContextEvent,
    
    /// <remarks/>
    InvalidReceiver,
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPFieldCollection {
    
    private SPFieldLink[] fieldRefField;
    
    private SPField[] fieldField;
    
    private string[] textField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("FieldRef")]
    public SPFieldLink[] FieldRef {
        get {
            return this.fieldRefField;
        }
        set {
            this.fieldRefField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Field")]
    public SPField[] Field {
        get {
            return this.fieldField;
        }
        set {
            this.fieldField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlTextAttribute()]
    public string[] Text {
        get {
            return this.textField;
        }
        set {
            this.textField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:deployment-manifest-schema")]
public partial class SPAttachmentCollection
{

    private SPAttachment[] attachment;


    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Attachment")]
    public SPAttachment[] Attachment
    {
        get
        {
            return this.attachment;
        }
        set
        {
            this.attachment = value;
        }
    }

}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace = "urn:deployment-manifest-schema")]
public partial class SPListItemCollection
{

    private SPListItem[] listitems;


    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ListItem")]
    public SPListItem[] ListItems
    {
        get
        {
            return this.listitems;
        }
        set
        {
            this.listitems = value;
        }
    }

}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPFieldLink {
    
    private string nameField;
    
    private string idField;
    
    private string customizationField;
    
    private string defaultField;
    
    private string colNameField;
    
    private string colName2Field;
    
    private int rowOrdinalField;
    
    private bool rowOrdinalFieldSpecified;
    
    private int rowOrdinal2Field;
    
    private bool rowOrdinal2FieldSpecified;
    
    private TRUEFALSE hiddenField;
    
    private bool hiddenFieldSpecified;
    
    private TRUEFALSE requiredField;
    
    private bool requiredFieldSpecified;
    
    private string explicitField;
    
    private string showInNewFormField;
    
    private string showInEditFormField;
    
    private string displayNameField;
    
    private string nodeField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ID {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Customization {
        get {
            return this.customizationField;
        }
        set {
            this.customizationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Default {
        get {
            return this.defaultField;
        }
        set {
            this.defaultField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ColName {
        get {
            return this.colNameField;
        }
        set {
            this.colNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ColName2 {
        get {
            return this.colName2Field;
        }
        set {
            this.colName2Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int RowOrdinal {
        get {
            return this.rowOrdinalField;
        }
        set {
            this.rowOrdinalField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RowOrdinalSpecified {
        get {
            return this.rowOrdinalFieldSpecified;
        }
        set {
            this.rowOrdinalFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int RowOrdinal2 {
        get {
            return this.rowOrdinal2Field;
        }
        set {
            this.rowOrdinal2Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RowOrdinal2Specified {
        get {
            return this.rowOrdinal2FieldSpecified;
        }
        set {
            this.rowOrdinal2FieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public TRUEFALSE Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HiddenSpecified {
        get {
            return this.hiddenFieldSpecified;
        }
        set {
            this.hiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public TRUEFALSE Required {
        get {
            return this.requiredField;
        }
        set {
            this.requiredField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RequiredSpecified {
        get {
            return this.requiredFieldSpecified;
        }
        set {
            this.requiredFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Explicit {
        get {
            return this.explicitField;
        }
        set {
            this.explicitField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ShowInNewForm {
        get {
            return this.showInNewFormField;
        }
        set {
            this.showInNewFormField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ShowInEditForm {
        get {
            return this.showInEditFormField;
        }
        set {
            this.showInEditFormField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DisplayName {
        get {
            return this.displayNameField;
        }
        set {
            this.displayNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Node {
        get {
            return this.nodeField;
        }
        set {
            this.nodeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum TRUEFALSE {
    
    /// <remarks/>
    TRUE,
    
    /// <remarks/>
    FALSE,
    
    /// <remarks/>
    @true,
    
    /// <remarks/>
    @false,
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPLink {
    
    private string targetIdField;
    
    private string targetUrlField;
    
    private bool isDirtyField;
    
    private string webPartIdField;
    
    private int linkNumberField;
    
    private bool linkNumberFieldSpecified;
    
    private byte typeField;
    
    private bool typeFieldSpecified;
    
    private byte securityField;
    
    private bool securityFieldSpecified;
    
    private byte dynamicField;
    
    private bool dynamicFieldSpecified;
    
    private bool serverRelField;
    
    private bool serverRelFieldSpecified;
    
    private byte levelField;
    
    private bool levelFieldSpecified;
    
    private string searchField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string TargetId {
        get {
            return this.targetIdField;
        }
        set {
            this.targetIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string TargetUrl {
        get {
            return this.targetUrlField;
        }
        set {
            this.targetUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsDirty {
        get {
            return this.isDirtyField;
        }
        set {
            this.isDirtyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartId {
        get {
            return this.webPartIdField;
        }
        set {
            this.webPartIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int LinkNumber {
        get {
            return this.linkNumberField;
        }
        set {
            this.linkNumberField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool LinkNumberSpecified {
        get {
            return this.linkNumberFieldSpecified;
        }
        set {
            this.linkNumberFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public byte Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TypeSpecified {
        get {
            return this.typeFieldSpecified;
        }
        set {
            this.typeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public byte Security {
        get {
            return this.securityField;
        }
        set {
            this.securityField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool SecuritySpecified {
        get {
            return this.securityFieldSpecified;
        }
        set {
            this.securityFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public byte Dynamic {
        get {
            return this.dynamicField;
        }
        set {
            this.dynamicField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool DynamicSpecified {
        get {
            return this.dynamicFieldSpecified;
        }
        set {
            this.dynamicFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ServerRel {
        get {
            return this.serverRelField;
        }
        set {
            this.serverRelField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ServerRelSpecified {
        get {
            return this.serverRelFieldSpecified;
        }
        set {
            this.serverRelFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public byte Level {
        get {
            return this.levelField;
        }
        set {
            this.levelField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool LevelSpecified {
        get {
            return this.levelFieldSpecified;
        }
        set {
            this.levelFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Search {
        get {
            return this.searchField;
        }
        set {
            this.searchField = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPModerationStatusType {
    
    /// <remarks/>
    Approved,
    
    /// <remarks/>
    Denied,
    
    /// <remarks/>
    Pending,
    
    /// <remarks/>
    Draft,
    
    /// <remarks/>
    Scheduled,
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum ListItemDocType {
    
    /// <remarks/>
    File,
    
    /// <remarks/>
    Folder,
    
    /// <remarks/>
    Unknown,
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPFile {
    
    private DictionaryEntry[] propertiesField;
    
    private SPFile[] versionsField;
    
    private SPWebPart[] webPartsField;
    
    private SPPersonalization[] personalizationsField;
    
    private SPLink[] linksField;
    
    private SPEventReceiverDefinition[] eventReceiversField;
    
    private string nameField;
    
    private string idField;
    
    private string urlField;
    
    private int listItemIntIdField;
    
    private bool listItemIntIdFieldSpecified;
    
    private string parentWebIdField;
    
    private string parentWebUrlField;
    
    private string parentIdField;
    
    private string listIdField;
    
    private string fileValueField;
    
    private string checkinCommentField;
    
    private string versionField;
    
    private string authorField;
    
    private string modifiedByField;
    
    private System.DateTime timeCreatedField;
    
    private bool timeCreatedFieldSpecified;
    
    private System.DateTime timeLastModifiedField;
    
    private bool timeLastModifiedFieldSpecified;
    
    private string failureMessageField;
    
    private bool isGhostedField;
    
    private bool isGhostedFieldSpecified;
    
    private string setupPathField;
    
    private string setupPathUserField;
    
    private sbyte setupPathVersionField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    public SPFile() {
        this.versionField = "1.0";
        this.setupPathVersionField = ((sbyte)(3));
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Property", IsNullable=false)]
    public DictionaryEntry[] Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("File", IsNullable=false)]
    public SPFile[] Versions {
        get {
            return this.versionsField;
        }
        set {
            this.versionsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("WebPart", IsNullable=false)]
    public SPWebPart[] WebParts {
        get {
            return this.webPartsField;
        }
        set {
            this.webPartsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Personalization", IsNullable=false)]
    public SPPersonalization[] Personalizations {
        get {
            return this.personalizationsField;
        }
        set {
            this.personalizationsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Link", IsNullable=false)]
    public SPLink[] Links {
        get {
            return this.linksField;
        }
        set {
            this.linksField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("EventReceiver", IsNullable=false)]
    public SPEventReceiverDefinition[] EventReceivers {
        get {
            return this.eventReceiversField;
        }
        set {
            this.eventReceiversField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int ListItemIntId {
        get {
            return this.listItemIntIdField;
        }
        set {
            this.listItemIntIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ListItemIntIdSpecified {
        get {
            return this.listItemIntIdFieldSpecified;
        }
        set {
            this.listItemIntIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebUrl {
        get {
            return this.parentWebUrlField;
        }
        set {
            this.parentWebUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentId {
        get {
            return this.parentIdField;
        }
        set {
            this.parentIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ListId {
        get {
            return this.listIdField;
        }
        set {
            this.listIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FileValue {
        get {
            return this.fileValueField;
        }
        set {
            this.fileValueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string CheckinComment {
        get {
            return this.checkinCommentField;
        }
        set {
            this.checkinCommentField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute("1.0")]
    public string Version {
        get {
            return this.versionField;
        }
        set {
            this.versionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModifiedBy {
        get {
            return this.modifiedByField;
        }
        set {
            this.modifiedByField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeCreated {
        get {
            return this.timeCreatedField;
        }
        set {
            this.timeCreatedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeCreatedSpecified {
        get {
            return this.timeCreatedFieldSpecified;
        }
        set {
            this.timeCreatedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeLastModified {
        get {
            return this.timeLastModifiedField;
        }
        set {
            this.timeLastModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeLastModifiedSpecified {
        get {
            return this.timeLastModifiedFieldSpecified;
        }
        set {
            this.timeLastModifiedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FailureMessage {
        get {
            return this.failureMessageField;
        }
        set {
            this.failureMessageField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsGhosted {
        get {
            return this.isGhostedField;
        }
        set {
            this.isGhostedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsGhostedSpecified {
        get {
            return this.isGhostedFieldSpecified;
        }
        set {
            this.isGhostedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SetupPath {
        get {
            return this.setupPathField;
        }
        set {
            this.setupPathField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SetupPathUser {
        get {
            return this.setupPathUserField;
        }
        set {
            this.setupPathUserField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    [System.ComponentModel.DefaultValueAttribute(typeof(sbyte), "3")]
    public sbyte SetupPathVersion {
        get {
            return this.setupPathVersionField;
        }
        set {
            this.setupPathVersionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPWebPart {
    
    private object[] itemsField;
    
    private ItemsChoiceType[] itemsElementNameField;
    
    private string nameField;
    
    private string listIdField;
    
    private string listRootFolderUrlField;
    
    private string typeField;
    
    private int userIdField;
    
    private bool userIdFieldSpecified;
    
    private string displayNameField;
    
    private string webPartTypeIdField;
    
    private string versionField;
    
    private string baseViewIDField;
    
    private string webPartZoneIDField;
    
    private string isIncludedField;
    
    private string webPartOrderField;
    
    private string frameStateField;
    
    private string sourceField;
    
    private string allUsersPropertiesField;
    
    private string perUserPropertiesField;
    
    private string contentTypeIdField;
    
    private string levelField;
    
    private string flagsField;
    
    private string scopeField;
    
    private bool hiddenField;
    
    private bool hiddenFieldSpecified;
    
    private bool threadedField;
    
    private bool threadedFieldSpecified;
    
    private bool readOnlyField;
    
    private bool readOnlyFieldSpecified;
    
    private bool recurrenceRowsetField;
    
    private bool recurrenceRowsetFieldSpecified;
    
    private bool fPModifiedField;
    
    private bool fPModifiedFieldSpecified;
    
    private string moderationTypeField;
    
    private bool personalField;
    
    private bool personalFieldSpecified;
    
    private bool orderedViewField;
    
    private bool orderedViewFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Aggregations", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("CalendarViewStyles", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Formats", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("GroupByFooter", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("GroupByHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ListFormBody", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedClientCallbackRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedRecurrenceRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Query", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("RowLimit", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("RowLimitExceeded", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Script", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Toolbar", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewBidiHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewBody", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewData", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewEmpty", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewFields", typeof(SPFieldLink[]))]
    [System.Xml.Serialization.XmlElementAttribute("ViewFooter", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewStyle", typeof(object))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ListId {
        get {
            return this.listIdField;
        }
        set {
            this.listIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ListRootFolderUrl {
        get {
            return this.listRootFolderUrlField;
        }
        set {
            this.listRootFolderUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int UserId {
        get {
            return this.userIdField;
        }
        set {
            this.userIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool UserIdSpecified {
        get {
            return this.userIdFieldSpecified;
        }
        set {
            this.userIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DisplayName {
        get {
            return this.displayNameField;
        }
        set {
            this.displayNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartTypeId {
        get {
            return this.webPartTypeIdField;
        }
        set {
            this.webPartTypeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Version {
        get {
            return this.versionField;
        }
        set {
            this.versionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string BaseViewID {
        get {
            return this.baseViewIDField;
        }
        set {
            this.baseViewIDField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartZoneID {
        get {
            return this.webPartZoneIDField;
        }
        set {
            this.webPartZoneIDField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string IsIncluded {
        get {
            return this.isIncludedField;
        }
        set {
            this.isIncludedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartOrder {
        get {
            return this.webPartOrderField;
        }
        set {
            this.webPartOrderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FrameState {
        get {
            return this.frameStateField;
        }
        set {
            this.frameStateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Source {
        get {
            return this.sourceField;
        }
        set {
            this.sourceField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string AllUsersProperties {
        get {
            return this.allUsersPropertiesField;
        }
        set {
            this.allUsersPropertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string PerUserProperties {
        get {
            return this.perUserPropertiesField;
        }
        set {
            this.perUserPropertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ContentTypeId {
        get {
            return this.contentTypeIdField;
        }
        set {
            this.contentTypeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Level {
        get {
            return this.levelField;
        }
        set {
            this.levelField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Flags {
        get {
            return this.flagsField;
        }
        set {
            this.flagsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Scope {
        get {
            return this.scopeField;
        }
        set {
            this.scopeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HiddenSpecified {
        get {
            return this.hiddenFieldSpecified;
        }
        set {
            this.hiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Threaded {
        get {
            return this.threadedField;
        }
        set {
            this.threadedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ThreadedSpecified {
        get {
            return this.threadedFieldSpecified;
        }
        set {
            this.threadedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ReadOnly {
        get {
            return this.readOnlyField;
        }
        set {
            this.readOnlyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ReadOnlySpecified {
        get {
            return this.readOnlyFieldSpecified;
        }
        set {
            this.readOnlyFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool RecurrenceRowset {
        get {
            return this.recurrenceRowsetField;
        }
        set {
            this.recurrenceRowsetField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RecurrenceRowsetSpecified {
        get {
            return this.recurrenceRowsetFieldSpecified;
        }
        set {
            this.recurrenceRowsetFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool FPModified {
        get {
            return this.fPModifiedField;
        }
        set {
            this.fPModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool FPModifiedSpecified {
        get {
            return this.fPModifiedFieldSpecified;
        }
        set {
            this.fPModifiedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModerationType {
        get {
            return this.moderationTypeField;
        }
        set {
            this.moderationTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Personal {
        get {
            return this.personalField;
        }
        set {
            this.personalField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool PersonalSpecified {
        get {
            return this.personalFieldSpecified;
        }
        set {
            this.personalFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool OrderedView {
        get {
            return this.orderedViewField;
        }
        set {
            this.orderedViewField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OrderedViewSpecified {
        get {
            return this.orderedViewFieldSpecified;
        }
        set {
            this.orderedViewFieldSpecified = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema", IncludeInSchema=false)]
public enum ItemsChoiceType {
    
    /// <remarks/>
    Aggregations,
    
    /// <remarks/>
    CalendarViewStyles,
    
    /// <remarks/>
    Formats,
    
    /// <remarks/>
    GroupByFooter,
    
    /// <remarks/>
    GroupByHeader,
    
    /// <remarks/>
    ListFormBody,
    
    /// <remarks/>
    PagedClientCallbackRowset,
    
    /// <remarks/>
    PagedRecurrenceRowset,
    
    /// <remarks/>
    PagedRowset,
    
    /// <remarks/>
    Query,
    
    /// <remarks/>
    RowLimit,
    
    /// <remarks/>
    RowLimitExceeded,
    
    /// <remarks/>
    Script,
    
    /// <remarks/>
    Toolbar,
    
    /// <remarks/>
    ViewBidiHeader,
    
    /// <remarks/>
    ViewBody,
    
    /// <remarks/>
    ViewData,
    
    /// <remarks/>
    ViewEmpty,
    
    /// <remarks/>
    ViewFields,
    
    /// <remarks/>
    ViewFooter,
    
    /// <remarks/>
    ViewHeader,
    
    /// <remarks/>
    ViewStyle,
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPPersonalization {
    
    private string webPartIdField;
    
    private int userIdField;
    
    private string webPartOrderField;
    
    private string webPartZoneIdField;
    
    private string isIncludedField;
    
    private string frameStateField;
    
    private string userPropertiesField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartId {
        get {
            return this.webPartIdField;
        }
        set {
            this.webPartIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int UserId {
        get {
            return this.userIdField;
        }
        set {
            this.userIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartOrder {
        get {
            return this.webPartOrderField;
        }
        set {
            this.webPartOrderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartZoneId {
        get {
            return this.webPartZoneIdField;
        }
        set {
            this.webPartZoneIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string IsIncluded {
        get {
            return this.isIncludedField;
        }
        set {
            this.isIncludedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FrameState {
        get {
            return this.frameStateField;
        }
        set {
            this.frameStateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserProperties {
        get {
            return this.userPropertiesField;
        }
        set {
            this.userPropertiesField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPFeature {
    
    private string idField;
    
    private string webIdField;
    
    private string propertiesField;
    
    private string featureDefinitionNameField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebId {
        get {
            return this.webIdField;
        }
        set {
            this.webIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FeatureDefinitionName {
        get {
            return this.featureDefinitionNameField;
        }
        set {
            this.featureDefinitionNameField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPFolder {
    
    private DictionaryEntry[] propertiesField;
    
    private string idField;
    
    private string nameField;
    
    private string urlField;
    
    private string parentFolderIdField;
    
    private string parentWebIdField;
    
    private string parentWebUrlField;
    
    private string containingDocumentLibraryField;
    
    private string welcomePageUrlField;
    
    private string welcomePageParametersField;
    
    private int listItemIntIdField;
    
    private bool listItemIntIdFieldSpecified;
    
    private string authorField;
    
    private string modifiedByField;
    
    private System.DateTime timeCreatedField;
    
    private bool timeCreatedFieldSpecified;
    
    private System.DateTime timeLastModifiedField;
    
    private bool timeLastModifiedFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Property", IsNullable=false)]
    public DictionaryEntry[] Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentFolderId {
        get {
            return this.parentFolderIdField;
        }
        set {
            this.parentFolderIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebUrl {
        get {
            return this.parentWebUrlField;
        }
        set {
            this.parentWebUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ContainingDocumentLibrary {
        get {
            return this.containingDocumentLibraryField;
        }
        set {
            this.containingDocumentLibraryField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WelcomePageUrl {
        get {
            return this.welcomePageUrlField;
        }
        set {
            this.welcomePageUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WelcomePageParameters {
        get {
            return this.welcomePageParametersField;
        }
        set {
            this.welcomePageParametersField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int ListItemIntId {
        get {
            return this.listItemIntIdField;
        }
        set {
            this.listItemIntIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ListItemIntIdSpecified {
        get {
            return this.listItemIntIdFieldSpecified;
        }
        set {
            this.listItemIntIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModifiedBy {
        get {
            return this.modifiedByField;
        }
        set {
            this.modifiedByField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeCreated {
        get {
            return this.timeCreatedField;
        }
        set {
            this.timeCreatedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeCreatedSpecified {
        get {
            return this.timeCreatedFieldSpecified;
        }
        set {
            this.timeCreatedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime TimeLastModified {
        get {
            return this.timeLastModifiedField;
        }
        set {
            this.timeLastModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeLastModifiedSpecified {
        get {
            return this.timeLastModifiedFieldSpecified;
        }
        set {
            this.timeLastModifiedFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPModule {
    
    private DictionaryEntry[] propertiesField;
    
    private bool enabledField;
    
    private bool enabledFieldSpecified;
    
    private string nameField;
    
    private string parentWebField;
    
    private string urlField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Property", IsNullable=false)]
    public DictionaryEntry[] Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Enabled {
        get {
            return this.enabledField;
        }
        set {
            this.enabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnabledSpecified {
        get {
            return this.enabledFieldSpecified;
        }
        set {
            this.enabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWeb {
        get {
            return this.parentWebField;
        }
        set {
            this.parentWebField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeletedField {
    
    private string fieldIdField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string FieldId {
        get {
            return this.fieldIdField;
        }
        set {
            this.fieldIdField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPForm {
    
    private System.Xml.XmlElement[] anyField;
    
    private string nameField;
    
    private string typeField;
    
    private string urlField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPListTemplate {
    
    private string baseTypeField;
    
    private string descriptionField;
    
    private string hiddenField;
    
    private string imageUrlField;
    
    private string internalNameField;
    
    private bool isCustomTemplateField;
    
    private bool isCustomTemplateFieldSpecified;
    
    private string nameField;
    
    private string onQuickLaunchField;
    
    private string schemaXmlField;
    
    private string typeField;
    
    private bool uniqueField;
    
    private bool uniqueFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string BaseType {
        get {
            return this.baseTypeField;
        }
        set {
            this.baseTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ImageUrl {
        get {
            return this.imageUrlField;
        }
        set {
            this.imageUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string InternalName {
        get {
            return this.internalNameField;
        }
        set {
            this.internalNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsCustomTemplate {
        get {
            return this.isCustomTemplateField;
        }
        set {
            this.isCustomTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsCustomTemplateSpecified {
        get {
            return this.isCustomTemplateFieldSpecified;
        }
        set {
            this.isCustomTemplateFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string OnQuickLaunch {
        get {
            return this.onQuickLaunchField;
        }
        set {
            this.onQuickLaunchField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SchemaXml {
        get {
            return this.schemaXmlField;
        }
        set {
            this.schemaXmlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Unique {
        get {
            return this.uniqueField;
        }
        set {
            this.uniqueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool UniqueSpecified {
        get {
            return this.uniqueFieldSpecified;
        }
        set {
            this.uniqueFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPModerationInformation {
    
    private string commentField;
    
    private SPModerationStatusType moderationStatusField;
    
    private bool moderationStatusFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Comment {
        get {
            return this.commentField;
        }
        set {
            this.commentField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPModerationStatusType ModerationStatus {
        get {
            return this.moderationStatusField;
        }
        set {
            this.moderationStatusField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ModerationStatusSpecified {
        get {
            return this.moderationStatusFieldSpecified;
        }
        set {
            this.moderationStatusFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentRoleAssignment {
    
    private DeploymentAssignment[] assignmentField;
    
    private string scopeIdField;
    
    private string roleDefWebIdField;
    
    private string roleDefWebUrlField;
    
    private string objectIdField;
    
    private string objectTypeField;
    
    private string objectUrlField;
    
    private string anonymousPermMaskField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Assignment")]
    public DeploymentAssignment[] Assignment {
        get {
            return this.assignmentField;
        }
        set {
            this.assignmentField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ScopeId {
        get {
            return this.scopeIdField;
        }
        set {
            this.scopeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleDefWebId {
        get {
            return this.roleDefWebIdField;
        }
        set {
            this.roleDefWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleDefWebUrl {
        get {
            return this.roleDefWebUrlField;
        }
        set {
            this.roleDefWebUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectId {
        get {
            return this.objectIdField;
        }
        set {
            this.objectIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectType {
        get {
            return this.objectTypeField;
        }
        set {
            this.objectTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectUrl {
        get {
            return this.objectUrlField;
        }
        set {
            this.objectUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string AnonymousPermMask {
        get {
            return this.anonymousPermMaskField;
        }
        set {
            this.anonymousPermMaskField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentAssignment {
    
    private string roleIdField;
    
    private string principalIdField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleId {
        get {
            return this.roleIdField;
        }
        set {
            this.roleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string PrincipalId {
        get {
            return this.principalIdField;
        }
        set {
            this.principalIdField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentRoleAssignmentX {
    
    private SecurityModificationType operationField;
    
    private string operationCodeField;
    
    private string scopeIdField;
    
    private string roleDefWebIdField;
    
    private string roleDefWebUrlField;
    
    private string objectIdField;
    
    private string objectTypeField;
    
    private string objectUrlField;
    
    private string anonymousPermMaskField;
    
    private string roleNameField;
    
    private string roleIdField;
    
    private string groupTitleField;
    
    private string userLoginField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SecurityModificationType Operation {
        get {
            return this.operationField;
        }
        set {
            this.operationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string OperationCode {
        get {
            return this.operationCodeField;
        }
        set {
            this.operationCodeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ScopeId {
        get {
            return this.scopeIdField;
        }
        set {
            this.scopeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleDefWebId {
        get {
            return this.roleDefWebIdField;
        }
        set {
            this.roleDefWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleDefWebUrl {
        get {
            return this.roleDefWebUrlField;
        }
        set {
            this.roleDefWebUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectId {
        get {
            return this.objectIdField;
        }
        set {
            this.objectIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectType {
        get {
            return this.objectTypeField;
        }
        set {
            this.objectTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ObjectUrl {
        get {
            return this.objectUrlField;
        }
        set {
            this.objectUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string AnonymousPermMask {
        get {
            return this.anonymousPermMaskField;
        }
        set {
            this.anonymousPermMaskField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleName {
        get {
            return this.roleNameField;
        }
        set {
            this.roleNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleId {
        get {
            return this.roleIdField;
        }
        set {
            this.roleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string GroupTitle {
        get {
            return this.groupTitleField;
        }
        set {
            this.groupTitleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserLogin {
        get {
            return this.userLoginField;
        }
        set {
            this.userLoginField = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SecurityModificationType {
    
    /// <remarks/>
    Add,
    
    /// <remarks/>
    Delete,
    
    /// <remarks/>
    Update,
    
    /// <remarks/>
    MemberAdd,
    
    /// <remarks/>
    MemberDelete,
    
    /// <remarks/>
    RoleAdd,
    
    /// <remarks/>
    RoleDelete,
    
    /// <remarks/>
    RoleUpdate,
    
    /// <remarks/>
    RoleAssignmentAdd,
    
    /// <remarks/>
    RoleAssignmentDelete,
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentRole {
    
    private string roleIdField;
    
    private string titleField;
    
    private string descriptionField;
    
    private string permMaskField;
    
    private bool hiddenField;
    
    private string roleOrderField;
    
    private string typeField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleId {
        get {
            return this.roleIdField;
        }
        set {
            this.roleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string PermMask {
        get {
            return this.permMaskField;
        }
        set {
            this.permMaskField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleOrder {
        get {
            return this.roleOrderField;
        }
        set {
            this.roleOrderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentRoleX {
    
    private SecurityModificationType operationField;
    
    private string operationCodeField;
    
    private string webIdField;
    
    private string webUrlField;
    
    private string roleIdField;
    
    private string titleField;
    
    private string descriptionField;
    
    private string permMaskField;
    
    private bool hiddenField;
    
    private bool hiddenFieldSpecified;
    
    private string roleOrderField;
    
    private string typeField;
    
    private string userIdField;
    
    private string userLoginField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SecurityModificationType Operation {
        get {
            return this.operationField;
        }
        set {
            this.operationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string OperationCode {
        get {
            return this.operationCodeField;
        }
        set {
            this.operationCodeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebId {
        get {
            return this.webIdField;
        }
        set {
            this.webIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebUrl {
        get {
            return this.webUrlField;
        }
        set {
            this.webUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleId {
        get {
            return this.roleIdField;
        }
        set {
            this.roleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string PermMask {
        get {
            return this.permMaskField;
        }
        set {
            this.permMaskField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HiddenSpecified {
        get {
            return this.hiddenFieldSpecified;
        }
        set {
            this.hiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RoleOrder {
        get {
            return this.roleOrderField;
        }
        set {
            this.roleOrderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserId {
        get {
            return this.userIdField;
        }
        set {
            this.userIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserLogin {
        get {
            return this.userLoginField;
        }
        set {
            this.userLoginField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentGroupX {
    
    private SecurityModificationType operationField;
    
    private string idField;
    
    private string nameField;
    
    private string ownerLoginField;
    
    private bool ownerIsUserField;
    
    private bool ownerIsUserFieldSpecified;
    
    private string descriptionField;
    
    private string userIdField;
    
    private string userLoginField;
    
    private string requestToJoinLeaveEmailSettingField;
    
    private bool onlyAllowMembersViewMembershipField;
    
    private bool onlyAllowMembersViewMembershipFieldSpecified;
    
    private bool allowRequestToJoinLeaveField;
    
    private bool allowRequestToJoinLeaveFieldSpecified;
    
    private bool autoAcceptRequestToJoinLeaveField;
    
    private bool autoAcceptRequestToJoinLeaveFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SecurityModificationType Operation {
        get {
            return this.operationField;
        }
        set {
            this.operationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string OwnerLogin {
        get {
            return this.ownerLoginField;
        }
        set {
            this.ownerLoginField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool OwnerIsUser {
        get {
            return this.ownerIsUserField;
        }
        set {
            this.ownerIsUserField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OwnerIsUserSpecified {
        get {
            return this.ownerIsUserFieldSpecified;
        }
        set {
            this.ownerIsUserFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserId {
        get {
            return this.userIdField;
        }
        set {
            this.userIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string UserLogin {
        get {
            return this.userLoginField;
        }
        set {
            this.userLoginField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RequestToJoinLeaveEmailSetting {
        get {
            return this.requestToJoinLeaveEmailSettingField;
        }
        set {
            this.requestToJoinLeaveEmailSettingField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool OnlyAllowMembersViewMembership {
        get {
            return this.onlyAllowMembersViewMembershipField;
        }
        set {
            this.onlyAllowMembersViewMembershipField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OnlyAllowMembersViewMembershipSpecified {
        get {
            return this.onlyAllowMembersViewMembershipFieldSpecified;
        }
        set {
            this.onlyAllowMembersViewMembershipFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool AllowRequestToJoinLeave {
        get {
            return this.allowRequestToJoinLeaveField;
        }
        set {
            this.allowRequestToJoinLeaveField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AllowRequestToJoinLeaveSpecified {
        get {
            return this.allowRequestToJoinLeaveFieldSpecified;
        }
        set {
            this.allowRequestToJoinLeaveFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool AutoAcceptRequestToJoinLeave {
        get {
            return this.autoAcceptRequestToJoinLeaveField;
        }
        set {
            this.autoAcceptRequestToJoinLeaveField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AutoAcceptRequestToJoinLeaveSpecified {
        get {
            return this.autoAcceptRequestToJoinLeaveFieldSpecified;
        }
        set {
            this.autoAcceptRequestToJoinLeaveFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class DeploymentUserX {
    
    private SecurityModificationType operationField;
    
    private string idField;
    
    private string nameField;
    
    private string loginField;
    
    private string emailField;
    
    private string systemIdField;
    
    private bool isDomainGroupField;
    
    private bool isDomainGroupFieldSpecified;
    
    private bool isSiteAdminField;
    
    private bool isSiteAdminFieldSpecified;
    
    private bool isDeletedField;
    
    private bool isDeletedFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SecurityModificationType Operation {
        get {
            return this.operationField;
        }
        set {
            this.operationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Login {
        get {
            return this.loginField;
        }
        set {
            this.loginField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Email {
        get {
            return this.emailField;
        }
        set {
            this.emailField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SystemId {
        get {
            return this.systemIdField;
        }
        set {
            this.systemIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsDomainGroup {
        get {
            return this.isDomainGroupField;
        }
        set {
            this.isDomainGroupField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsDomainGroupSpecified {
        get {
            return this.isDomainGroupFieldSpecified;
        }
        set {
            this.isDomainGroupFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsSiteAdmin {
        get {
            return this.isSiteAdminField;
        }
        set {
            this.isSiteAdminField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsSiteAdminSpecified {
        get {
            return this.isSiteAdminFieldSpecified;
        }
        set {
            this.isSiteAdminFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsDeleted {
        get {
            return this.isDeletedField;
        }
        set {
            this.isDeletedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsDeletedSpecified {
        get {
            return this.isDeletedFieldSpecified;
        }
        set {
            this.isDeletedFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPView {
    
    private object[] itemsField;
    
    private ItemsChoiceType1[] itemsElementNameField;
    
    private string nameField;
    
    private bool defaultViewField;
    
    private bool defaultViewFieldSpecified;
    
    private string typeField;
    
    private bool hiddenField;
    
    private bool hiddenFieldSpecified;
    
    private bool threadedField;
    
    private bool threadedFieldSpecified;
    
    private bool fPModifiedField;
    
    private bool fPModifiedFieldSpecified;
    
    private bool readOnlyField;
    
    private bool readOnlyFieldSpecified;
    
    private SPViewScope scopeField;
    
    private bool scopeFieldSpecified;
    
    private bool recurrenceRowsetField;
    
    private bool recurrenceRowsetFieldSpecified;
    
    private string moderationTypeField;
    
    private bool personalField;
    
    private bool personalFieldSpecified;
    
    private bool orderedViewField;
    
    private bool orderedViewFieldSpecified;
    
    private string displayNameField;
    
    private string contentTypeIdField;
    
    private string urlField;
    
    private string baseViewIDField;
    
    private string webPartZoneIDField;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("Aggregations", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("CalendarViewStyles", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Formats", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("GroupByFooter", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("GroupByHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ListFormBody", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedClientCallbackRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedRecurrenceRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("PagedRowset", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Query", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("RowLimit", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("RowLimitExceeded", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Script", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("Toolbar", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewBidiHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewBody", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewData", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewEmpty", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewFields", typeof(SPFieldLink[]))]
    [System.Xml.Serialization.XmlElementAttribute("ViewFooter", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewHeader", typeof(object))]
    [System.Xml.Serialization.XmlElementAttribute("ViewStyle", typeof(object))]
    [System.Xml.Serialization.XmlChoiceIdentifierAttribute("ItemsElementName")]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ItemsElementName")]
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public ItemsChoiceType1[] ItemsElementName {
        get {
            return this.itemsElementNameField;
        }
        set {
            this.itemsElementNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool DefaultView {
        get {
            return this.defaultViewField;
        }
        set {
            this.defaultViewField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool DefaultViewSpecified {
        get {
            return this.defaultViewFieldSpecified;
        }
        set {
            this.defaultViewFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Type {
        get {
            return this.typeField;
        }
        set {
            this.typeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HiddenSpecified {
        get {
            return this.hiddenFieldSpecified;
        }
        set {
            this.hiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Threaded {
        get {
            return this.threadedField;
        }
        set {
            this.threadedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ThreadedSpecified {
        get {
            return this.threadedFieldSpecified;
        }
        set {
            this.threadedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool FPModified {
        get {
            return this.fPModifiedField;
        }
        set {
            this.fPModifiedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool FPModifiedSpecified {
        get {
            return this.fPModifiedFieldSpecified;
        }
        set {
            this.fPModifiedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ReadOnly {
        get {
            return this.readOnlyField;
        }
        set {
            this.readOnlyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ReadOnlySpecified {
        get {
            return this.readOnlyFieldSpecified;
        }
        set {
            this.readOnlyFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPViewScope Scope {
        get {
            return this.scopeField;
        }
        set {
            this.scopeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ScopeSpecified {
        get {
            return this.scopeFieldSpecified;
        }
        set {
            this.scopeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool RecurrenceRowset {
        get {
            return this.recurrenceRowsetField;
        }
        set {
            this.recurrenceRowsetField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RecurrenceRowsetSpecified {
        get {
            return this.recurrenceRowsetFieldSpecified;
        }
        set {
            this.recurrenceRowsetFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ModerationType {
        get {
            return this.moderationTypeField;
        }
        set {
            this.moderationTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Personal {
        get {
            return this.personalField;
        }
        set {
            this.personalField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool PersonalSpecified {
        get {
            return this.personalFieldSpecified;
        }
        set {
            this.personalFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool OrderedView {
        get {
            return this.orderedViewField;
        }
        set {
            this.orderedViewField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OrderedViewSpecified {
        get {
            return this.orderedViewFieldSpecified;
        }
        set {
            this.orderedViewFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DisplayName {
        get {
            return this.displayNameField;
        }
        set {
            this.displayNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ContentTypeId {
        get {
            return this.contentTypeIdField;
        }
        set {
            this.contentTypeIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Url {
        get {
            return this.urlField;
        }
        set {
            this.urlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string BaseViewID {
        get {
            return this.baseViewIDField;
        }
        set {
            this.baseViewIDField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebPartZoneID {
        get {
            return this.webPartZoneIDField;
        }
        set {
            this.webPartZoneIDField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema", IncludeInSchema=false)]
public enum ItemsChoiceType1 {
    
    /// <remarks/>
    Aggregations,
    
    /// <remarks/>
    CalendarViewStyles,
    
    /// <remarks/>
    Formats,
    
    /// <remarks/>
    GroupByFooter,
    
    /// <remarks/>
    GroupByHeader,
    
    /// <remarks/>
    ListFormBody,
    
    /// <remarks/>
    PagedClientCallbackRowset,
    
    /// <remarks/>
    PagedRecurrenceRowset,
    
    /// <remarks/>
    PagedRowset,
    
    /// <remarks/>
    Query,
    
    /// <remarks/>
    RowLimit,
    
    /// <remarks/>
    RowLimitExceeded,
    
    /// <remarks/>
    Script,
    
    /// <remarks/>
    Toolbar,
    
    /// <remarks/>
    ViewBidiHeader,
    
    /// <remarks/>
    ViewBody,
    
    /// <remarks/>
    ViewData,
    
    /// <remarks/>
    ViewEmpty,
    
    /// <remarks/>
    ViewFields,
    
    /// <remarks/>
    ViewFooter,
    
    /// <remarks/>
    ViewHeader,
    
    /// <remarks/>
    ViewStyle,
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPViewScope {
    
    /// <remarks/>
    Default,
    
    /// <remarks/>
    Recursive,
    
    /// <remarks/>
    RecursiveAll,
    
    /// <remarks/>
    FilesOnly,
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPContentTypeCollection {
    
    private System.Xml.XmlElement[] anyField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyElementAttribute()]
    public System.Xml.XmlElement[] Any {
        get {
            return this.anyField;
        }
        set {
            this.anyField = value;
        }
    }
}

/// <remarks/>
[System.Xml.Serialization.XmlIncludeAttribute(typeof(SPDocumentLibrary))]
[System.Xml.Serialization.XmlIncludeAttribute(typeof(SPPictureLibrary))]




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPList {
    
    private object[] itemsField;
    
    private string idField;
    
    private string titleField;
    
    private string rootFolderIdField;
    
    private string rootFolderUrlField;
    
    private string parentWebIdField;
    
    private string parentWebUrlField;
    
    private SPBaseType baseTypeField;
    
    private bool baseTypeFieldSpecified;
    
    private string baseTemplateField;
    
    private string templateFeatureIdField;
    
    private string descriptionField;
    
    private string directionField;
    
    private string documentTemplateIdField;
    
    private string eventSinkAssemblyField;
    
    private string sendToLocationNameField;
    
    private string sendToLocationUrlField;
    
    private string eventSinkClassField;
    
    private string eventSinkDataField;
    
    private string imageUrlField;
    
    private bool allowDeletionField;
    
    private bool allowDeletionFieldSpecified;
    
    private bool allowMultiResponsesField;
    
    private bool allowMultiResponsesFieldSpecified;
    
    private bool enableAttachmentsField;
    
    private bool enableAttachmentsFieldSpecified;
    
    private bool enableModerationField;
    
    private bool enableModerationFieldSpecified;
    
    private bool enableVersioningField;
    
    private bool enableVersioningFieldSpecified;
    
    private bool enableMinorVersionsField;
    
    private bool enableMinorVersionsFieldSpecified;
    
    private bool requestAccessEnabledField;
    
    private bool requestAccessEnabledFieldSpecified;
    
    private DraftVisibilityType draftVersionVisibilityField;
    
    private bool draftVersionVisibilityFieldSpecified;
    
    private bool forceCheckoutField;
    
    private bool forceCheckoutFieldSpecified;
    
    private bool excludeFromTemplateField;
    
    private bool excludeFromTemplateFieldSpecified;
    
    private bool hiddenField;
    
    private bool hiddenFieldSpecified;
    
    private bool multipleDataListField;
    
    private bool multipleDataListFieldSpecified;
    
    private bool orderedField;
    
    private bool orderedFieldSpecified;
    
    private bool showUserField;
    
    private bool showUserFieldSpecified;
    
    private string authorField;
    
    private System.DateTime createdField;
    
    private bool createdFieldSpecified;
    
    private bool onQuickLaunchField;
    
    private bool onQuickLaunchFieldSpecified;
    
    private int readSecurityField;
    
    private bool readSecurityFieldSpecified;
    
    private int writeSecurityField;
    
    private bool writeSecurityFieldSpecified;
    
    private int versionField;
    
    private bool versionFieldSpecified;
    
    private int majorVersionLimitField;
    
    private bool majorVersionLimitFieldSpecified;
    
    private int majorWithMinorVersionsLimitField;
    
    private bool majorWithMinorVersionsLimitFieldSpecified;
    
    private string emailAliasField;
    
    private bool enableContentTypesField;
    
    private bool enableContentTypesFieldSpecified;
    
    private bool enableDeployWithDependentListField;
    
    private bool enableDeployWithDependentListFieldSpecified;
    
    private bool enableFolderCreationField;
    
    private bool enableFolderCreationFieldSpecified;
    
    private DefaultItemOpen defaultItemOpenField;
    
    private bool defaultItemOpenFieldSpecified;
    
    private string defaultContentApprovalWorkflowIdField;
    
    private bool enableAssignToEmailField;
    
    private bool enableAssignToEmailFieldSpecified;
    
    private bool enableSyndicationField;
    
    private bool enableSyndicationFieldSpecified;
    
    private bool irmEnabledField;
    
    private bool irmEnabledFieldSpecified;
    
    private bool irmExpireField;
    
    private bool irmExpireFieldSpecified;
    
    private bool irmRejectField;
    
    private bool irmRejectFieldSpecified;
    
    private bool noCrawlField;
    
    private bool noCrawlFieldSpecified;
    
    private System.Xml.XmlAttribute[] anyAttrField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlElementAttribute("ContentTypes", typeof(SPContentTypeCollection))]
    [System.Xml.Serialization.XmlElementAttribute("DeletedFields", typeof(DeletedField[]))]
    [System.Xml.Serialization.XmlElementAttribute("EventReceivers", typeof(SPEventReceiverDefinition[]))]
    [System.Xml.Serialization.XmlElementAttribute("Fields", typeof(SPFieldCollection))]
    [System.Xml.Serialization.XmlElementAttribute("Forms", typeof(SPForm[]))]
    [System.Xml.Serialization.XmlElementAttribute("Views", typeof(SPView[]))]
    public object[] Items {
        get {
            return this.itemsField;
        }
        set {
            this.itemsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RootFolderId {
        get {
            return this.rootFolderIdField;
        }
        set {
            this.rootFolderIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RootFolderUrl {
        get {
            return this.rootFolderUrlField;
        }
        set {
            this.rootFolderUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebId {
        get {
            return this.parentWebIdField;
        }
        set {
            this.parentWebIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentWebUrl {
        get {
            return this.parentWebUrlField;
        }
        set {
            this.parentWebUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public SPBaseType BaseType {
        get {
            return this.baseTypeField;
        }
        set {
            this.baseTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool BaseTypeSpecified {
        get {
            return this.baseTypeFieldSpecified;
        }
        set {
            this.baseTypeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string BaseTemplate {
        get {
            return this.baseTemplateField;
        }
        set {
            this.baseTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string TemplateFeatureId {
        get {
            return this.templateFeatureIdField;
        }
        set {
            this.templateFeatureIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Direction {
        get {
            return this.directionField;
        }
        set {
            this.directionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DocumentTemplateId {
        get {
            return this.documentTemplateIdField;
        }
        set {
            this.documentTemplateIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string EventSinkAssembly {
        get {
            return this.eventSinkAssemblyField;
        }
        set {
            this.eventSinkAssemblyField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SendToLocationName {
        get {
            return this.sendToLocationNameField;
        }
        set {
            this.sendToLocationNameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SendToLocationUrl {
        get {
            return this.sendToLocationUrlField;
        }
        set {
            this.sendToLocationUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string EventSinkClass {
        get {
            return this.eventSinkClassField;
        }
        set {
            this.eventSinkClassField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string EventSinkData {
        get {
            return this.eventSinkDataField;
        }
        set {
            this.eventSinkDataField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ImageUrl {
        get {
            return this.imageUrlField;
        }
        set {
            this.imageUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool AllowDeletion {
        get {
            return this.allowDeletionField;
        }
        set {
            this.allowDeletionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AllowDeletionSpecified {
        get {
            return this.allowDeletionFieldSpecified;
        }
        set {
            this.allowDeletionFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool AllowMultiResponses {
        get {
            return this.allowMultiResponsesField;
        }
        set {
            this.allowMultiResponsesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AllowMultiResponsesSpecified {
        get {
            return this.allowMultiResponsesFieldSpecified;
        }
        set {
            this.allowMultiResponsesFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableAttachments {
        get {
            return this.enableAttachmentsField;
        }
        set {
            this.enableAttachmentsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableAttachmentsSpecified {
        get {
            return this.enableAttachmentsFieldSpecified;
        }
        set {
            this.enableAttachmentsFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableModeration {
        get {
            return this.enableModerationField;
        }
        set {
            this.enableModerationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableModerationSpecified {
        get {
            return this.enableModerationFieldSpecified;
        }
        set {
            this.enableModerationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableVersioning {
        get {
            return this.enableVersioningField;
        }
        set {
            this.enableVersioningField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableVersioningSpecified {
        get {
            return this.enableVersioningFieldSpecified;
        }
        set {
            this.enableVersioningFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableMinorVersions {
        get {
            return this.enableMinorVersionsField;
        }
        set {
            this.enableMinorVersionsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableMinorVersionsSpecified {
        get {
            return this.enableMinorVersionsFieldSpecified;
        }
        set {
            this.enableMinorVersionsFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool RequestAccessEnabled {
        get {
            return this.requestAccessEnabledField;
        }
        set {
            this.requestAccessEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RequestAccessEnabledSpecified {
        get {
            return this.requestAccessEnabledFieldSpecified;
        }
        set {
            this.requestAccessEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public DraftVisibilityType DraftVersionVisibility {
        get {
            return this.draftVersionVisibilityField;
        }
        set {
            this.draftVersionVisibilityField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool DraftVersionVisibilitySpecified {
        get {
            return this.draftVersionVisibilityFieldSpecified;
        }
        set {
            this.draftVersionVisibilityFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ForceCheckout {
        get {
            return this.forceCheckoutField;
        }
        set {
            this.forceCheckoutField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ForceCheckoutSpecified {
        get {
            return this.forceCheckoutFieldSpecified;
        }
        set {
            this.forceCheckoutFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ExcludeFromTemplate {
        get {
            return this.excludeFromTemplateField;
        }
        set {
            this.excludeFromTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ExcludeFromTemplateSpecified {
        get {
            return this.excludeFromTemplateFieldSpecified;
        }
        set {
            this.excludeFromTemplateFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Hidden {
        get {
            return this.hiddenField;
        }
        set {
            this.hiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HiddenSpecified {
        get {
            return this.hiddenFieldSpecified;
        }
        set {
            this.hiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool MultipleDataList {
        get {
            return this.multipleDataListField;
        }
        set {
            this.multipleDataListField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool MultipleDataListSpecified {
        get {
            return this.multipleDataListFieldSpecified;
        }
        set {
            this.multipleDataListFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Ordered {
        get {
            return this.orderedField;
        }
        set {
            this.orderedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OrderedSpecified {
        get {
            return this.orderedFieldSpecified;
        }
        set {
            this.orderedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ShowUser {
        get {
            return this.showUserField;
        }
        set {
            this.showUserField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ShowUserSpecified {
        get {
            return this.showUserFieldSpecified;
        }
        set {
            this.showUserFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime Created {
        get {
            return this.createdField;
        }
        set {
            this.createdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CreatedSpecified {
        get {
            return this.createdFieldSpecified;
        }
        set {
            this.createdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool OnQuickLaunch {
        get {
            return this.onQuickLaunchField;
        }
        set {
            this.onQuickLaunchField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool OnQuickLaunchSpecified {
        get {
            return this.onQuickLaunchFieldSpecified;
        }
        set {
            this.onQuickLaunchFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int ReadSecurity {
        get {
            return this.readSecurityField;
        }
        set {
            this.readSecurityField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ReadSecuritySpecified {
        get {
            return this.readSecurityFieldSpecified;
        }
        set {
            this.readSecurityFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int WriteSecurity {
        get {
            return this.writeSecurityField;
        }
        set {
            this.writeSecurityField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WriteSecuritySpecified {
        get {
            return this.writeSecurityFieldSpecified;
        }
        set {
            this.writeSecurityFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int Version {
        get {
            return this.versionField;
        }
        set {
            this.versionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool VersionSpecified {
        get {
            return this.versionFieldSpecified;
        }
        set {
            this.versionFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int MajorVersionLimit {
        get {
            return this.majorVersionLimitField;
        }
        set {
            this.majorVersionLimitField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool MajorVersionLimitSpecified {
        get {
            return this.majorVersionLimitFieldSpecified;
        }
        set {
            this.majorVersionLimitFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int MajorWithMinorVersionsLimit {
        get {
            return this.majorWithMinorVersionsLimitField;
        }
        set {
            this.majorWithMinorVersionsLimitField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool MajorWithMinorVersionsLimitSpecified {
        get {
            return this.majorWithMinorVersionsLimitFieldSpecified;
        }
        set {
            this.majorWithMinorVersionsLimitFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string EmailAlias {
        get {
            return this.emailAliasField;
        }
        set {
            this.emailAliasField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableContentTypes {
        get {
            return this.enableContentTypesField;
        }
        set {
            this.enableContentTypesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableContentTypesSpecified {
        get {
            return this.enableContentTypesFieldSpecified;
        }
        set {
            this.enableContentTypesFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableDeployWithDependentList {
        get {
            return this.enableDeployWithDependentListField;
        }
        set {
            this.enableDeployWithDependentListField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableDeployWithDependentListSpecified {
        get {
            return this.enableDeployWithDependentListFieldSpecified;
        }
        set {
            this.enableDeployWithDependentListFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableFolderCreation {
        get {
            return this.enableFolderCreationField;
        }
        set {
            this.enableFolderCreationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableFolderCreationSpecified {
        get {
            return this.enableFolderCreationFieldSpecified;
        }
        set {
            this.enableFolderCreationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public DefaultItemOpen DefaultItemOpen {
        get {
            return this.defaultItemOpenField;
        }
        set {
            this.defaultItemOpenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool DefaultItemOpenSpecified {
        get {
            return this.defaultItemOpenFieldSpecified;
        }
        set {
            this.defaultItemOpenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DefaultContentApprovalWorkflowId {
        get {
            return this.defaultContentApprovalWorkflowIdField;
        }
        set {
            this.defaultContentApprovalWorkflowIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableAssignToEmail {
        get {
            return this.enableAssignToEmailField;
        }
        set {
            this.enableAssignToEmailField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableAssignToEmailSpecified {
        get {
            return this.enableAssignToEmailFieldSpecified;
        }
        set {
            this.enableAssignToEmailFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool EnableSyndication {
        get {
            return this.enableSyndicationField;
        }
        set {
            this.enableSyndicationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool EnableSyndicationSpecified {
        get {
            return this.enableSyndicationFieldSpecified;
        }
        set {
            this.enableSyndicationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IrmEnabled {
        get {
            return this.irmEnabledField;
        }
        set {
            this.irmEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IrmEnabledSpecified {
        get {
            return this.irmEnabledFieldSpecified;
        }
        set {
            this.irmEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IrmExpire {
        get {
            return this.irmExpireField;
        }
        set {
            this.irmExpireField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IrmExpireSpecified {
        get {
            return this.irmExpireFieldSpecified;
        }
        set {
            this.irmExpireFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IrmReject {
        get {
            return this.irmRejectField;
        }
        set {
            this.irmRejectField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IrmRejectSpecified {
        get {
            return this.irmRejectFieldSpecified;
        }
        set {
            this.irmRejectFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool NoCrawl {
        get {
            return this.noCrawlField;
        }
        set {
            this.noCrawlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool NoCrawlSpecified {
        get {
            return this.noCrawlFieldSpecified;
        }
        set {
            this.noCrawlFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAnyAttributeAttribute()]
    public System.Xml.XmlAttribute[] AnyAttr {
        get {
            return this.anyAttrField;
        }
        set {
            this.anyAttrField = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPBaseType {
    
    /// <remarks/>
    UnspecifiedBaseType,
    
    /// <remarks/>
    GenericList,
    
    /// <remarks/>
    DocumentLibrary,
    
    /// <remarks/>
    Unused,
    
    /// <remarks/>
    DiscussionBoard,
    
    /// <remarks/>
    Survey,
    
    /// <remarks/>
    Issue,
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum DraftVisibilityType {
    
    /// <remarks/>
    Reader,
    
    /// <remarks/>
    Author,
    
    /// <remarks/>
    Approver,
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum DefaultItemOpen {
    
    /// <remarks/>
    Browser,
    
    /// <remarks/>
    PreferClient,
}

/// <remarks/>
[System.Xml.Serialization.XmlIncludeAttribute(typeof(SPPictureLibrary))]




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPDocumentLibrary : SPList {
    
    private string documentTemplateUrlField;
    
    private string emailInsertsFolderField;
    
    private bool isCatalogField;
    
    private bool isCatalogFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string DocumentTemplateUrl {
        get {
            return this.documentTemplateUrlField;
        }
        set {
            this.documentTemplateUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string EmailInsertsFolder {
        get {
            return this.emailInsertsFolderField;
        }
        set {
            this.emailInsertsFolderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsCatalog {
        get {
            return this.isCatalogField;
        }
        set {
            this.isCatalogField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsCatalogSpecified {
        get {
            return this.isCatalogFieldSpecified;
        }
        set {
            this.isCatalogFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPPictureLibrary : SPDocumentLibrary {
    
    private int thumbnailSizeField;
    
    private bool thumbnailSizeFieldSpecified;
    
    private int webImageHeightField;
    
    private bool webImageHeightFieldSpecified;
    
    private int webImageWidthField;
    
    private bool webImageWidthFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int ThumbnailSize {
        get {
            return this.thumbnailSizeField;
        }
        set {
            this.thumbnailSizeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ThumbnailSizeSpecified {
        get {
            return this.thumbnailSizeFieldSpecified;
        }
        set {
            this.thumbnailSizeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int WebImageHeight {
        get {
            return this.webImageHeightField;
        }
        set {
            this.webImageHeightField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WebImageHeightSpecified {
        get {
            return this.webImageHeightFieldSpecified;
        }
        set {
            this.webImageHeightFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int WebImageWidth {
        get {
            return this.webImageWidthField;
        }
        set {
            this.webImageWidthField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WebImageWidthSpecified {
        get {
            return this.webImageWidthFieldSpecified;
        }
        set {
            this.webImageWidthFieldSpecified = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPWebTemplate {
    
    private string descriptionField;
    
    private string idField;
    
    private string imageUrlField;
    
    private bool isCustomTemplateField;
    
    private bool isCustomTemplateFieldSpecified;
    
    private bool isHiddenField;
    
    private bool isHiddenFieldSpecified;
    
    private bool isUniqueField;
    
    private bool isUniqueFieldSpecified;
    
    private string nameField;
    
    private string titleField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ImageUrl {
        get {
            return this.imageUrlField;
        }
        set {
            this.imageUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsCustomTemplate {
        get {
            return this.isCustomTemplateField;
        }
        set {
            this.isCustomTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsCustomTemplateSpecified {
        get {
            return this.isCustomTemplateFieldSpecified;
        }
        set {
            this.isCustomTemplateFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsHidden {
        get {
            return this.isHiddenField;
        }
        set {
            this.isHiddenField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsHiddenSpecified {
        get {
            return this.isHiddenFieldSpecified;
        }
        set {
            this.isHiddenFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsUnique {
        get {
            return this.isUniqueField;
        }
        set {
            this.isUniqueField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IsUniqueSpecified {
        get {
            return this.isUniqueFieldSpecified;
        }
        set {
            this.isUniqueFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
}

/// <remarks/>




[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPWeb {
    
    private DictionaryEntry[] propertiesField;
    
    private SPEventReceiverDefinition[] eventReceiversField;
    
    private string idField;
    
    private string parentIdField;
    
    private string nameField;
    
    private string titleField;
    
    private string localeField;
    
    private long languageField;
    
    private bool isRootWebField;
    
    private string serverRelativeUrlField;
    
    private int currencyLocaleIdField;
    
    private bool currencyLocaleIdFieldSpecified;
    
    private long regionalSettingsLocaleIdField;
    
    private bool regionalSettingsLocaleIdFieldSpecified;
    
    private string requestAccessEmailField;
    
    private int timeZoneIdField;
    
    private bool timeZoneIdFieldSpecified;
    
    private bool time24Field;
    
    private bool time24FieldSpecified;
    
    private int calendarTypeField;
    
    private bool calendarTypeFieldSpecified;
    
    private int adjustHijriDaysField;
    
    private bool adjustHijriDaysFieldSpecified;
    
    private int collationField;
    
    private bool collationFieldSpecified;
    
    private short alternateCalendarTypeField;
    
    private bool alternateCalendarTypeFieldSpecified;
    
    private bool showWeeksField;
    
    private bool showWeeksFieldSpecified;
    
    private short firstWeekOfYearField;
    
    private bool firstWeekOfYearFieldSpecified;
    
    private short workDaysField;
    
    private bool workDaysFieldSpecified;
    
    private short workDayStartHourField;
    
    private bool workDayStartHourFieldSpecified;
    
    private short workDayEndHourField;
    
    private bool workDayEndHourFieldSpecified;
    
    private long firstDayOfWeekField;
    
    private bool firstDayOfWeekFieldSpecified;
    
    private string descriptionField;
    
    private string alternateHeaderField;
    
    private string authorField;
    
    private int configurationField;
    
    private bool configurationFieldSpecified;
    
    private bool hasUniqueRoleAssignmentsField;
    
    private bool hasUniqueRoleAssignmentsFieldSpecified;
    
    private bool hasUniqueRoleDefinitionsField;
    
    private bool hasUniqueRoleDefinitionsFieldSpecified;
    
    private System.DateTime createdField;
    
    private bool createdFieldSpecified;
    
    private string themeCompositeField;
    
    private string webTemplateField;
    
    private AnonymousState anonymousStateField;
    
    private bool anonymousStateFieldSpecified;
    
    private string rootFolderIdField;
    
    private bool systemCatalogsIncludedField;
    
    private bool systemCatalogsIncludedFieldSpecified;
    
    private string welcomePageUrlField;
    
    private string alternateCssUrlField;
    
    private string customizedCssFilesField;
    
    private string customJSUrlField;
    
    private bool includeSupportingFoldersField;
    
    private bool includeSupportingFoldersFieldSpecified;
    
    private string securityProviderField;
    
    private string masterUrlField;
    
    private string customMasterUrlField;
    
    private string siteLogoUrlField;
    
    private string siteLogoDescriptionField;
    
    private bool useSharedNavigationField;
    
    private bool useSharedNavigationFieldSpecified;
    
    private bool presenceEnabledField;
    
    private bool presenceEnabledFieldSpecified;
    
    private bool syndicationEnabledField;
    
    private bool syndicationEnabledFieldSpecified;
    
    private bool quickLaunchEnabledField;
    
    private bool quickLaunchEnabledFieldSpecified;
    
    private bool treeViewEnabledField;
    
    private bool treeViewEnabledFieldSpecified;
    
    private bool parserEnabledField;
    
    private bool parserEnabledFieldSpecified;
    
    private bool provisionedField;
    
    private bool provisionedFieldSpecified;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("Property", IsNullable=false)]
    public DictionaryEntry[] Properties {
        get {
            return this.propertiesField;
        }
        set {
            this.propertiesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlArrayItemAttribute("EventReceiver", IsNullable=false)]
    public SPEventReceiverDefinition[] EventReceivers {
        get {
            return this.eventReceiversField;
        }
        set {
            this.eventReceiversField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ParentId {
        get {
            return this.parentIdField;
        }
        set {
            this.parentIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Name {
        get {
            return this.nameField;
        }
        set {
            this.nameField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Title {
        get {
            return this.titleField;
        }
        set {
            this.titleField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Locale {
        get {
            return this.localeField;
        }
        set {
            this.localeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public long Language {
        get {
            return this.languageField;
        }
        set {
            this.languageField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IsRootWeb {
        get {
            return this.isRootWebField;
        }
        set {
            this.isRootWebField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ServerRelativeUrl {
        get {
            return this.serverRelativeUrlField;
        }
        set {
            this.serverRelativeUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int CurrencyLocaleId {
        get {
            return this.currencyLocaleIdField;
        }
        set {
            this.currencyLocaleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CurrencyLocaleIdSpecified {
        get {
            return this.currencyLocaleIdFieldSpecified;
        }
        set {
            this.currencyLocaleIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public long RegionalSettingsLocaleId {
        get {
            return this.regionalSettingsLocaleIdField;
        }
        set {
            this.regionalSettingsLocaleIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool RegionalSettingsLocaleIdSpecified {
        get {
            return this.regionalSettingsLocaleIdFieldSpecified;
        }
        set {
            this.regionalSettingsLocaleIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RequestAccessEmail {
        get {
            return this.requestAccessEmailField;
        }
        set {
            this.requestAccessEmailField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int TimeZoneId {
        get {
            return this.timeZoneIdField;
        }
        set {
            this.timeZoneIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TimeZoneIdSpecified {
        get {
            return this.timeZoneIdFieldSpecified;
        }
        set {
            this.timeZoneIdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Time24 {
        get {
            return this.time24Field;
        }
        set {
            this.time24Field = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool Time24Specified {
        get {
            return this.time24FieldSpecified;
        }
        set {
            this.time24FieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int CalendarType {
        get {
            return this.calendarTypeField;
        }
        set {
            this.calendarTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CalendarTypeSpecified {
        get {
            return this.calendarTypeFieldSpecified;
        }
        set {
            this.calendarTypeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int AdjustHijriDays {
        get {
            return this.adjustHijriDaysField;
        }
        set {
            this.adjustHijriDaysField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AdjustHijriDaysSpecified {
        get {
            return this.adjustHijriDaysFieldSpecified;
        }
        set {
            this.adjustHijriDaysFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int Collation {
        get {
            return this.collationField;
        }
        set {
            this.collationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CollationSpecified {
        get {
            return this.collationFieldSpecified;
        }
        set {
            this.collationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public short AlternateCalendarType {
        get {
            return this.alternateCalendarTypeField;
        }
        set {
            this.alternateCalendarTypeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AlternateCalendarTypeSpecified {
        get {
            return this.alternateCalendarTypeFieldSpecified;
        }
        set {
            this.alternateCalendarTypeFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ShowWeeks {
        get {
            return this.showWeeksField;
        }
        set {
            this.showWeeksField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ShowWeeksSpecified {
        get {
            return this.showWeeksFieldSpecified;
        }
        set {
            this.showWeeksFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public short FirstWeekOfYear {
        get {
            return this.firstWeekOfYearField;
        }
        set {
            this.firstWeekOfYearField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool FirstWeekOfYearSpecified {
        get {
            return this.firstWeekOfYearFieldSpecified;
        }
        set {
            this.firstWeekOfYearFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public short WorkDays {
        get {
            return this.workDaysField;
        }
        set {
            this.workDaysField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WorkDaysSpecified {
        get {
            return this.workDaysFieldSpecified;
        }
        set {
            this.workDaysFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public short WorkDayStartHour {
        get {
            return this.workDayStartHourField;
        }
        set {
            this.workDayStartHourField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WorkDayStartHourSpecified {
        get {
            return this.workDayStartHourFieldSpecified;
        }
        set {
            this.workDayStartHourFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public short WorkDayEndHour {
        get {
            return this.workDayEndHourField;
        }
        set {
            this.workDayEndHourField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool WorkDayEndHourSpecified {
        get {
            return this.workDayEndHourFieldSpecified;
        }
        set {
            this.workDayEndHourFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public long FirstDayOfWeek {
        get {
            return this.firstDayOfWeekField;
        }
        set {
            this.firstDayOfWeekField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool FirstDayOfWeekSpecified {
        get {
            return this.firstDayOfWeekFieldSpecified;
        }
        set {
            this.firstDayOfWeekFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Description {
        get {
            return this.descriptionField;
        }
        set {
            this.descriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string AlternateHeader {
        get {
            return this.alternateHeaderField;
        }
        set {
            this.alternateHeaderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Author {
        get {
            return this.authorField;
        }
        set {
            this.authorField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public int Configuration {
        get {
            return this.configurationField;
        }
        set {
            this.configurationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ConfigurationSpecified {
        get {
            return this.configurationFieldSpecified;
        }
        set {
            this.configurationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool HasUniqueRoleAssignments {
        get {
            return this.hasUniqueRoleAssignmentsField;
        }
        set {
            this.hasUniqueRoleAssignmentsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HasUniqueRoleAssignmentsSpecified {
        get {
            return this.hasUniqueRoleAssignmentsFieldSpecified;
        }
        set {
            this.hasUniqueRoleAssignmentsFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool HasUniqueRoleDefinitions {
        get {
            return this.hasUniqueRoleDefinitionsField;
        }
        set {
            this.hasUniqueRoleDefinitionsField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool HasUniqueRoleDefinitionsSpecified {
        get {
            return this.hasUniqueRoleDefinitionsFieldSpecified;
        }
        set {
            this.hasUniqueRoleDefinitionsFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public System.DateTime Created {
        get {
            return this.createdField;
        }
        set {
            this.createdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool CreatedSpecified {
        get {
            return this.createdFieldSpecified;
        }
        set {
            this.createdFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string ThemeComposite {
        get {
            return this.themeCompositeField;
        }
        set {
            this.themeCompositeField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WebTemplate {
        get {
            return this.webTemplateField;
        }
        set {
            this.webTemplateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public AnonymousState AnonymousState {
        get {
            return this.anonymousStateField;
        }
        set {
            this.anonymousStateField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool AnonymousStateSpecified {
        get {
            return this.anonymousStateFieldSpecified;
        }
        set {
            this.anonymousStateFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string RootFolderId {
        get {
            return this.rootFolderIdField;
        }
        set {
            this.rootFolderIdField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool SystemCatalogsIncluded {
        get {
            return this.systemCatalogsIncludedField;
        }
        set {
            this.systemCatalogsIncludedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool SystemCatalogsIncludedSpecified {
        get {
            return this.systemCatalogsIncludedFieldSpecified;
        }
        set {
            this.systemCatalogsIncludedFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string WelcomePageUrl {
        get {
            return this.welcomePageUrlField;
        }
        set {
            this.welcomePageUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string AlternateCssUrl {
        get {
            return this.alternateCssUrlField;
        }
        set {
            this.alternateCssUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string CustomizedCssFiles {
        get {
            return this.customizedCssFilesField;
        }
        set {
            this.customizedCssFilesField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string CustomJSUrl {
        get {
            return this.customJSUrlField;
        }
        set {
            this.customJSUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool IncludeSupportingFolders {
        get {
            return this.includeSupportingFoldersField;
        }
        set {
            this.includeSupportingFoldersField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool IncludeSupportingFoldersSpecified {
        get {
            return this.includeSupportingFoldersFieldSpecified;
        }
        set {
            this.includeSupportingFoldersFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SecurityProvider {
        get {
            return this.securityProviderField;
        }
        set {
            this.securityProviderField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string MasterUrl {
        get {
            return this.masterUrlField;
        }
        set {
            this.masterUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string CustomMasterUrl {
        get {
            return this.customMasterUrlField;
        }
        set {
            this.customMasterUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SiteLogoUrl {
        get {
            return this.siteLogoUrlField;
        }
        set {
            this.siteLogoUrlField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string SiteLogoDescription {
        get {
            return this.siteLogoDescriptionField;
        }
        set {
            this.siteLogoDescriptionField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool UseSharedNavigation {
        get {
            return this.useSharedNavigationField;
        }
        set {
            this.useSharedNavigationField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool UseSharedNavigationSpecified {
        get {
            return this.useSharedNavigationFieldSpecified;
        }
        set {
            this.useSharedNavigationFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool PresenceEnabled {
        get {
            return this.presenceEnabledField;
        }
        set {
            this.presenceEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool PresenceEnabledSpecified {
        get {
            return this.presenceEnabledFieldSpecified;
        }
        set {
            this.presenceEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool SyndicationEnabled {
        get {
            return this.syndicationEnabledField;
        }
        set {
            this.syndicationEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool SyndicationEnabledSpecified {
        get {
            return this.syndicationEnabledFieldSpecified;
        }
        set {
            this.syndicationEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool QuickLaunchEnabled {
        get {
            return this.quickLaunchEnabledField;
        }
        set {
            this.quickLaunchEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool QuickLaunchEnabledSpecified {
        get {
            return this.quickLaunchEnabledFieldSpecified;
        }
        set {
            this.quickLaunchEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool TreeViewEnabled {
        get {
            return this.treeViewEnabledField;
        }
        set {
            this.treeViewEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool TreeViewEnabledSpecified {
        get {
            return this.treeViewEnabledFieldSpecified;
        }
        set {
            this.treeViewEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool ParserEnabled {
        get {
            return this.parserEnabledField;
        }
        set {
            this.parserEnabledField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ParserEnabledSpecified {
        get {
            return this.parserEnabledFieldSpecified;
        }
        set {
            this.parserEnabledFieldSpecified = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public bool Provisioned {
        get {
            return this.provisionedField;
        }
        set {
            this.provisionedField = value;
        }
    }
    
    /// <remarks/>
    [System.Xml.Serialization.XmlIgnoreAttribute()]
    public bool ProvisionedSpecified {
        get {
            return this.provisionedFieldSpecified;
        }
        set {
            this.provisionedFieldSpecified = value;
        }
    }
}

/// <remarks/>


[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum AnonymousState {
    
    /// <remarks/>
    Disabled,
    
    /// <remarks/>
    Enabled,
    
    /// <remarks/>
    On,
}

/// <remarks/>
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public partial class SPSite {
    
    private string idField;
    
    /// <remarks/>
    [System.Xml.Serialization.XmlAttributeAttribute()]
    public string Id {
        get {
            return this.idField;
        }
        set {
            this.idField = value;
        }
    }
}

/// <remarks/>

[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:deployment-manifest-schema")]
public enum SPObjectType {
    
    /// <remarks/>
    SPSite,
    
    /// <remarks/>
    SPWeb,
    
    /// <remarks/>
    SPList,
    
    /// <remarks/>
    SPDocumentLibrary,
    
    /// <remarks/>
    SPPictureLibrary,
    
    /// <remarks/>
    SPListItem,
    
    /// <remarks/>
    SPFolder,
    
    /// <remarks/>
    SPFile,
    
    /// <remarks/>
    SPContentType,
    
    /// <remarks/>
    SPWebTemplate,
    
    /// <remarks/>
    SPModule,
    
    /// <remarks/>
    SPDocumentTemplate,
    
    /// <remarks/>
    SPListTemplate,
    
    /// <remarks/>
    DeploymentWebStructure,
    
    /// <remarks/>
    DeploymentUserX,
    
    /// <remarks/>
    DeploymentGroupX,
    
    /// <remarks/>
    DeploymentRoles,
    
    /// <remarks/>
    DeploymentRoleX,
    
    /// <remarks/>
    DeploymentRoleAssignments,
    
    /// <remarks/>
    DeploymentRoleAssignmentX,
    
    /// <remarks/>
    DeploymentFieldTemplate,
    
    /// <remarks/>
    SPFeature,
}

    public class SPGenericObjectCollection : System.Collections.ICollection
    {

        private ArrayList objectCollection;
        public SPGenericObjectCollection()
        {
            objectCollection = new ArrayList();
        }



        #region ICollection Members


        public void CopyTo(System.Array array, int index)
        {
            objectCollection.CopyTo(array, index);
        }

        public int Count
        {
            get { return objectCollection.Count; }
        }

        public bool IsSynchronized
        {
            get
            {

                return objectCollection.IsSynchronized;
            }
        }

        public object SyncRoot
        {
            get { return objectCollection.SyncRoot; }
        }

        #endregion

        #region IEnumerable Members

        public System.Collections.IEnumerator GetEnumerator()
        {
            return objectCollection.GetEnumerator();
        }

        #endregion

        public SPGenericObject this[int index]
        {
            get { return (SPGenericObject)objectCollection[index]; }
        }
        public void Add(SPGenericObject newItemField)
        {
            objectCollection.Add(newItemField);
        }
        public void Clear()
        {
            objectCollection.Clear();
        }


    }
    public class Validator
    {

        private void DumpException( Exception ex )
        {

            WriteExceptionInfo( ex );
            if( null != ex.InnerException )
            {   WriteExceptionInfo( ex.InnerException );
            }

        }

        private void WriteExceptionInfo(Exception ex)
        {

            Console.WriteLine("--------- Exception Data ---------");

            Console.WriteLine("Message: {0}", ex.Message);
            Console.WriteLine("Exception Type: {0}", ex.GetType().FullName);

            Console.WriteLine("Source: {0}", ex.Source);

            Console.WriteLine("StrackTrace: {0}", ex.StackTrace);

            Console.WriteLine("TargetSite: {0}", ex.TargetSite);
        }



        private Hashtable ht = null;
        public Validator()
        {
            ht = new Hashtable(255);
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="fileName"></param>
        /// <param name="siteCollectionURL"></param>
        /// <returns></returns>
        public bool ValidateFile(string fileName, string siteCollectionURL)
        {
            bool retvalue = false;
            FileStream fs = new FileStream(fileName, FileMode.Open);
            XmlReader reader = new XmlTextReader(fs);
            // Declare an object variable of the type to be deserialized.
            SPGenericObjectCollectionRoot collection = new SPGenericObjectCollectionRoot();
            // Create an instance of the XmlSerializer specifying type and namespace.
            XmlSerializer serializer = new XmlSerializer(typeof(SPGenericObjectCollectionRoot));
            // Use the Deserialize method to restore the object's state.
            collection = (SPGenericObjectCollectionRoot)serializer.Deserialize(reader);

            reader.Close();
            fs.Close();
            try
            {

                using (Microsoft.SharePoint.SPSite site = new Microsoft.SharePoint.SPSite(siteCollectionURL))
                {

                    foreach (SPGenericObject gO in collection.sPObjectFields)
                    {
                        switch (gO.ObjectType)
                        {
                            case SPObjectType.SPListItem:
                                {
                                    SPListItem item = (SPListItem)(gO.Item);
                                    Microsoft.SharePoint.SPContentTypeId id = new SPContentTypeId(item.ContentTypeId);
                                    int authorId = int.Parse(item.Author);
                                    int editorId = int.Parse(item.ModifiedBy);
                                    SPUser user = site.RootWeb.AllUsers[authorId];
                                    if (!ht.ContainsKey("Author_" + item.Author))
                                    {
                                        if (user == null)
                                        {
                                            ht.Add("Author_" + item.Author, "Fuu");
                                            Console.WriteLine("Could not find the user {0}, in the site collection {1}", item.Author, siteCollectionURL);
                                        }
                                    }
                                    user = site.RootWeb.AllUsers[editorId];
                                    if (!ht.ContainsKey("Editor_" + item.Author))
                                    {
                                        if (user == null)
                                        {
                                            ht.Add("Editor_" + item.ModifiedBy, "Fuu");
                                            Console.WriteLine("Could not find the user {0}, in the site collection {1}", item.ModifiedBy, siteCollectionURL);
                                        }
                                    }
                                    if (!ht.ContainsKey(item.ContentTypeId))
                                    {
                                        Microsoft.SharePoint.SPContentType ct = site.RootWeb.AvailableContentTypes[id];
                                        if (ct == null)
                                        {
                                            ht.Add(item.ContentTypeId, "Fuu");
                                            Console.WriteLine("Could not find the content type {0}, in the site collection {1}", item.ContentTypeId, siteCollectionURL);
                                        }
                                    }
                                    break;
                                }
                            case SPObjectType.SPFile:
                                {
                                    break;
                                }


                        }
                    }
                }
            }
            catch (Exception Ex)
            {
                DumpException(Ex);
            }



            return retvalue;
        }
    }

}
